home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / nShell / Changes next >
Encoding:
Text File  |  1994-09-06  |  2.3 KB  |  59 lines  |  [TEXT/ttxt]

  1.  
  2. nShell(tm) Change List for Version 1.0.2
  3.  
  4. ===== Changes in v1.0.2
  5.  
  6. C.R. #102   Write an “export” command for scripts
  7.  
  8. A new "export" command allows variables to exported from within shell scripts.  See "man export" for more information.
  9.  
  10. C.R. #103   Write an “exit” command for scripts
  11.  
  12. A new "exit" command allows immediate exit from within shell scripts.  A Return Code may be assigned.  See "man exit" for more information.
  13.  
  14. C.R. #159   “man >dev:null”
  15.  
  16. There was an error in pipes to "dev:null".  The simple output redirectors ">" and ">>" always acted like error redirectors ">&" and ">>&".
  17.  
  18. C.R. #164   “echo” directly from command buffer
  19.  
  20. The "echo" command has been improved.  It may now echo up to a full line (2048 chars).
  21.  
  22. C.R. #165   Fix “NSH_gets” for Return characters
  23.  
  24. The "gets" callback has been corrected and improved.  An error which caused "gets" to read past '\r' when reading from a file has been fixed.  See the "nShell(tm) Programmer's Guide v1.0.2" for details.
  25.  
  26. C.R. #166   “wc <foo” outside home directory fails
  27.  
  28. A bad one!  The pathname was not correctly managed, so input redirection failed outside the home directory.
  29.  
  30. C.R. #167   “yesno” does not handle ^D
  31.  
  32. Two problems. "NSH_getchar" did not return -1 for when a ^D was typed on the keyboard, but returned it directly.  Secondly, the "yesno" command did not handle -1 as a return value.
  33.  
  34. C.R. #169   Scripts do not return correct status
  35.  
  36. The Return Code for a script should be the Return Code of the last command executed within the script.  In some cases the Return Code was lost.
  37.  
  38. C.R. #170   Add man pages for flow
  39.  
  40. "man pages" for Flow Of Control keywords have been added.  To access these pages, you must quote the keyword, as in man "if".
  41.  
  42. C.R. #171   Speed up input redirection
  43.  
  44. A new buffer speeds redirection.
  45.  
  46. C.R. #173   Print an error message when “which” parameter is too long.
  47.  
  48. The "which" and "pathchk" commands did not do error checking on pathname length.  The buffers would be overrun on pathnames longer than 255 characters.
  49.  
  50. C.R. #174   The “find” dialog changes “ignore case” on “cancel”
  51.  
  52. The "find" dialog accepted "ignore case" control changes, even when the user selected "cancel".
  53.  
  54. ===== Changes in v1.0.1
  55.  
  56. C.R. #175 Preserve paths on “save” and “open” of transcript
  57.  
  58. Version 1.0.0 did not properly save and restore system variables when shell transcripts were saved and restored.
  59.